package com.gxuwz.yischool;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class SchoolcardActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_schoolcard);
        TextView textView=findViewById(R.id.tv_fkm);
        TextView textView1=findViewById(R.id.tv_addmaney1);
        TextView textView2=findViewById(R.id.tv_editpassword);
        TextView textView3=findViewById(R.id.tv_home);
        TextView textView4=findViewById(R.id.tv_message);
        TextView textView5=findViewById(R.id.tv_maneyquery);
        TextView textView6=findViewById(R.id.tv_cardlost);
        TextView textView7=findViewById(R.id.tv_cardback);
        TextView textView8=findViewById(R.id.tv_card_balance);
        TextView textView9=findViewById(R.id.tv_me);
        textView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(SchoolcardActivity.this,EwmActivity.class);
                startActivity(intent);
            }
        });
        textView1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(SchoolcardActivity.this,CardAddManeyActivity.class);
                startActivity(intent);
            }
        });
        textView2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(SchoolcardActivity.this,EditPasswordActivity.class);
                startActivity(intent);
            }
        });
        textView3.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(SchoolcardActivity.this,LoginActivity.class);
                startActivity(intent);
            }
        });
        textView4.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(SchoolcardActivity.this,MessageActivity.class);
                startActivity(intent);
            }
        });
        textView5.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(SchoolcardActivity.this,CheckstandActivity.class);
                startActivity(intent);
            }
        });
        textView6.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(SchoolcardActivity.this,CardLossActivity.class);
                startActivity(intent);
            }
        });
        textView7.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(SchoolcardActivity.this,CardFindActivity.class);
                startActivity(intent);
            }
        });
        textView8.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(SchoolcardActivity.this,CardBalanceActivity.class);
                startActivity(intent);
            }
        });
        textView9.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(SchoolcardActivity.this,MeActivity.class);
                startActivity(intent);
            }
        });
    }
}
